#pragma once
#include "trigger.h"

extern "C" {
#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>
	}

class LuaTrigger :
	public Trigger
{
private:
	std::string nombreLua;
	bool ejecutado;
public:
	LuaTrigger(std::string & name,float x1,float y1, float x2, float y2, std::string &ficheroLua);
	void onTrigger();
	~LuaTrigger(void);
};
